﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SGS.Standard.GameLogic
{
    public class QueryController : GameLogicBase
    {
        internal static void NMQC_ShowPlayerState()
        {
            RaiseNoticeMessageEvent(  "===Player Count：{0}", CurrentGameContext.PlayersCircle.Count);
            int dummy = 0;
            foreach (var p in CurrentGameContext.PlayersCircle)
            {
                dummy++;
                RaiseNoticeMessageEvent( "#{0} Player {1}: {2} Live={3} ", p.GameInfo.Number, p.PlayerName, p.GameInfo.SelectedCharacter.Name, p.GameInfo.Live);
            }
        }
    }
}
